.class Lcom/donson/momark/view/view/a;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/donson/momark/view/view/AdView;


# direct methods
.method constructor <init>(Lcom/donson/momark/view/view/AdView;)V
    .locals 0

    iput-object p1, p0, Lcom/donson/momark/view/view/a;->a:Lcom/donson/momark/view/view/AdView;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 5

    const/4 v4, 0x1

    iget v0, p1, Landroid/os/Message;->what:I

    iget-object v1, p0, Lcom/donson/momark/view/view/a;->a:Lcom/donson/momark/view/view/AdView;

    invoke-static {v1}, Lcom/donson/momark/view/view/AdView;->a(Lcom/donson/momark/view/view/AdView;)Lcom/donson/momark/a/u;

    move-result-object v1

    invoke-virtual {v1}, Lcom/donson/momark/a/u;->d()I

    move-result v1

    if-lez v1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-static {}, Lcom/donson/momark/view/view/AdView;->a()Lcom/donson/momark/a/r;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-static {}, Lcom/donson/momark/view/view/AdView;->a()Lcom/donson/momark/a/r;

    move-result-object v1

    iget-object v1, v1, Lcom/donson/momark/a/r;->d:Lcom/donson/momark/a/a/u;

    if-eqz v1, :cond_0

    invoke-static {}, Lcom/donson/momark/view/view/AdView;->a()Lcom/donson/momark/a/r;

    move-result-object v1

    iget-object v1, v1, Lcom/donson/momark/a/r;->e:Lcom/donson/momark/a/a/a;

    if-eqz v1, :cond_0

    invoke-static {}, Lcom/donson/momark/view/view/AdView;->a()Lcom/donson/momark/a/r;

    move-result-object v1

    iget-object v1, v1, Lcom/donson/momark/a/r;->d:Lcom/donson/momark/a/a/u;

    invoke-virtual {v1}, Lcom/donson/momark/a/a/u;->g()Landroid/widget/ImageView;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-static {}, Lcom/donson/momark/view/view/AdView;->a()Lcom/donson/momark/a/r;

    move-result-object v1

    iget-object v1, v1, Lcom/donson/momark/a/r;->j:Lcom/donson/momark/a/q;

    if-eqz v1, :cond_0

    invoke-static {}, Lcom/donson/momark/view/view/AdView;->a()Lcom/donson/momark/a/r;

    move-result-object v1

    iget-object v1, v1, Lcom/donson/momark/a/r;->e:Lcom/donson/momark/a/a/a;

    invoke-virtual {v1}, Lcom/donson/momark/a/a/a;->h()I

    move-result v1

    packed-switch v1, :pswitch_data_0

    :cond_2
    iget-object v1, p0, Lcom/donson/momark/view/view/a;->a:Lcom/donson/momark/view/view/AdView;

    invoke-static {v1}, Lcom/donson/momark/view/view/AdView;->d(Lcom/donson/momark/view/view/AdView;)Lcom/donson/momark/view/e;

    move-result-object v1

    invoke-static {}, Lcom/donson/momark/view/view/AdView;->a()Lcom/donson/momark/a/r;

    move-result-object v2

    invoke-static {}, Lcom/donson/momark/view/view/AdView;->d()Lcom/donson/momark/a/r;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lcom/donson/momark/view/e;->a(Lcom/donson/momark/a/r;Lcom/donson/momark/a/r;)V

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/donson/momark/view/view/a;->a:Lcom/donson/momark/view/view/AdView;

    invoke-virtual {v0}, Lcom/donson/momark/view/view/AdView;->AdViewSwitchedWakeUp()V

    :cond_3
    invoke-static {}, Lcom/donson/momark/view/view/AdView;->a()Lcom/donson/momark/a/r;

    move-result-object v0

    iget-object v0, v0, Lcom/donson/momark/a/r;->e:Lcom/donson/momark/a/a/a;

    invoke-virtual {v0, v4}, Lcom/donson/momark/a/a/a;->a(I)V

    invoke-static {}, Lcom/donson/momark/view/view/AdView;->d()Lcom/donson/momark/a/r;

    move-result-object v0

    iget-object v0, v0, Lcom/donson/momark/a/r;->e:Lcom/donson/momark/a/a/a;

    invoke-virtual {v0, v4}, Lcom/donson/momark/a/a/a;->a(I)V

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    goto :goto_0

    :pswitch_0
    invoke-static {}, Lcom/donson/momark/view/view/AdView;->a()Lcom/donson/momark/a/r;

    move-result-object v1

    iget-object v1, v1, Lcom/donson/momark/a/r;->e:Lcom/donson/momark/a/a/a;

    invoke-virtual {v1}, Lcom/donson/momark/a/a/a;->w()Ljava/util/List;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-static {}, Lcom/donson/momark/view/view/AdView;->a()Lcom/donson/momark/a/r;

    move-result-object v1

    iget-object v1, v1, Lcom/donson/momark/a/r;->j:Lcom/donson/momark/a/q;

    invoke-virtual {v1}, Lcom/donson/momark/a/q;->a()Landroid/widget/ImageView;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-static {}, Lcom/donson/momark/view/view/AdView;->a()Lcom/donson/momark/a/r;

    move-result-object v1

    iget-object v1, v1, Lcom/donson/momark/a/r;->j:Lcom/donson/momark/a/q;

    invoke-virtual {v1}, Lcom/donson/momark/a/q;->d()Landroid/widget/ImageView;

    move-result-object v1

    if-eqz v1, :cond_0

    invoke-static {}, Lcom/donson/momark/view/view/AdView;->a()Lcom/donson/momark/a/r;

    move-result-object v1

    iget-object v1, v1, Lcom/donson/momark/a/r;->j:Lcom/donson/momark/a/q;

    invoke-virtual {v1}, Lcom/donson/momark/a/q;->e()Landroid/widget/ImageView;

    move-result-object v1

    if-eqz v1, :cond_0

    :pswitch_1
    invoke-static {}, Lcom/donson/momark/view/view/AdView;->a()Lcom/donson/momark/a/r;

    move-result-object v1

    iget-object v1, v1, Lcom/donson/momark/a/r;->j:Lcom/donson/momark/a/q;

    invoke-virtual {v1}, Lcom/donson/momark/a/q;->h()Lcom/donson/momark/view/view/v;

    move-result-object v1

    if-nez v1, :cond_2

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
